<template>
  <div>
    我是父组件
    {{count}}
<demo v-model="count"></demo>
<!-- <demo :moduleValue = 'count' @update:module-value = "count=$event"></demo> -->
  </div>
</template>

<script setup>
  import {ref} from "vue"
import demo from "./demo.vue"
const count=ref(0)
</script>

<style lang="scss" scoped>

</style>